<?PHP
$target_path = "";
$target_path = $target_path . basename( $_FILES['Filedata']['name']); 
move_uploaded_file($_FILES['Filedata']['tmp_name'], $target_path);
?> 